<?php
    
    
    /*$codeChecked ='<?php if (isset($viewFormData["' . strtolower(
                                                                  $eForm->name) . '"])) {if ($viewFormData["' . strtolower(
                                                                                                                $eForm->name)
                    . '"] == 1) echo "checked=checked";}?>';  */
                    
                    
   $field = "rubrik";
    $codeChecked ='$1<?php if (isset($_REQUEST["'.$field.'"])) if ($_REQUEST["'.$field.'"] == $dataquery_["id"]) echo " selected=selected";?>>';
    
    

//        $body          =preg_replace('/(<option value=".*?")(>)/is', "99999999999999999 >", $body);
       $body          =preg_replace('/(<option value=".*?".*?)(>)/is', $codeChecked, $body);

       //  $body = "Hello world";
  
 //echo "hello world";
  
//  echo $body;
  
 // exit;
 
    //$body = "";
  
  
  
?>
